﻿using BasicInformation.ErrorCode;
using MediatR;

namespace BasicInformation.ApiWrite.Application.Command.Inbound
{
    public class AddInboundDetailsCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 产品Id（主键唯一标识）
        /// </summary>
        public int? ProductId { get; set; }
        /// <summary>
        /// 单位Id（主键唯一标识）
        /// </summary>
        public int? UnitId { get; set; }
        /// <summary>
        /// 当前库存
        /// </summary>
        public string? Storage { get; set; }
        /// <summary>
        /// 库位Id（主键唯一标识）
        /// </summary>
        public int? LocationId { get; set; }
        /// <summary>
        /// 盈亏数量
        /// </summary>
        public int? InboundProfitLossNumber { get; set; }
        /// <summary>
        /// 已入库数量
        /// </summary>
        public int? InStockNumber { get; set; }
        /// <summary>
        /// 未入库数量
        /// </summary>
        public int? NotInStockNumber { get; set; }
        /// <summary>
        /// 本次入库数量
        /// </summary>
        public int? InboundNumber { get; set; }
    }
}
